*{
    padding:0;margin:0;
    font:13px/1.625em 'microsoft yahei';
    color:#fff;
}

a{text-decoration: none;}
button{border:none;}

.section{background: #fff;}
.m-header{
    position: absolute;
    top:0;width:100%;left:0;

}

.m-footer{
    position: absolute;width:100%;bottom:0;left:0;text-align: center;
}

.m-header img,.m-footer img{width:100%;}

.g-l{text-align: left;}
.g-c{text-align: center;}
.g-r{text-align: right;}
.p1 .m-content{
    position: absolute;
    top:50%;
    width:100%;
}
.p1 .m-box{
    height:60px;
    border-top:#f9b7c2 solid 2px;
    border-bottom:#f9b7c2 solid 2px;
}


.p1 .heart{
    position: absolute;
    left:50%;
    top:10px;
    width: 44px;
    height: 44px;
    border-radius: 22px;
    background: #e65d74 url(../img/1-icon-heart.png) no-repeat center center;
    background-size: 60%;
    margin-left:-22px;
}

.p1 .name{
    color:#f9b7c2;
    font-size:28px;
    line-height:60px;
    width:50%;
    display: block;
    float:left;
    text-align: center;
}

.p1 .date{
    color:#f9b7c2;
    font-size:14px;
    text-align: center;
    margin-top: 0.5em;
}

.p1.active .heart{
    -webkit-animation: anim-hb 1.5s linear 0s infinite  both;
    animation: anim-hb 1.5s linear 0s infinite  both;
}

.p1.active .m-footer{
    -webkit-animation: anim-fi-zi 0.6s linear 0.8s both;
    animation: anim-fi-zi 0.6s linear 0.8s both;
}

.j-mr{
    -webkit-animation: anim-f 8s linear 0s infinite  both;
    animation: anim-swing 8s linear 0s infinite  both;
}
/* page 2 */
.p2{
    background: url(../img/2-bg-main.jpg) no-repeat;
    background-size:  100% 100%;
    margin:0 auto;
}

.p2 h2{ font-size:1.8rem;}
.p2 .m-content{
    position: absolute;
    top:0;width:100%;left:0;
    text-align: center;
    margin-top:15%;
}

.p2 .avatar{
    width:76%; margin:0 auto;
    display: table;
}

.p2.active .avatar{
    -webkit-animation: anim-fb 1s ease-out 0.7s both;
    animation: anim-fb 1s ease-out 0.7 both;
}

.p2 .avatar>img{
    width: 25%;
    background: #fff;
    padding: 6px;
    border-radius: 100%;
    margin: 5% 10%;
}
.p2 .m-footer>img{
    width:42.34%;
    margin-bottom: 25%;
}

.p2.active .main{
    -webkit-animation: anim-fd 1s ease 0.7s both;
    animation: anim-fd 1s ease 0.7 both;
}

.p2 p{line-height:2em;}
.p2 p.b::after{
    content: "";
    background: url(../img/2-bg-content-f.png) no-repeat center center;
    display: block;
    /* position: absolute; */
    width: 100%;
    height: 38px;
    background-size: 35% auto;
}
.p2 div.address{
    margin-top:1em;
}

.p2.active div.address{
    -webkit-animation: anim-dr 0.8s ease 1.7s both;
    animation: anim-dr 0.8s ease 1.7 both;
}

.p2.active div.address p{
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-animation: anim-sr 0.8s ease 2.3s both;
    animation: anim-sr 0.8s ease 2.3 both;
}

.p2 div.address>h2{
    background:#992f41;
    width:42px;
    height:42px;
    font-size:13px;
}
.p2 div.address>p{
    line-height: 1.5em;
}
.p2 div.address h2,.p2 div.address p{display:inline-block;}

/* page3 */
.p3>img{width:100%;}
.p3 .m-content h2{
    text-align: center;
    margin-top:1em;
}

.p3 h2 img{width:36.875%;text-align: center;}

.p3 p{
    color:#c03b52;
    padding:6%;
    line-height:2em;
    text-align: justify;
}

.p3 .m-content a>img{
    width:20.3%;
}

.p3 .m-content .u-pano{
    text-align: center;
}

.p3.active p{
    -webkit-animation: anim-fu 0.8s ease 0.8s both;
    animation: anim-fu 0.8s ease 0.8 both;
}

.p3.active .u-pano{
    -webkit-animation: anim-fd 0.8s ease 1.4s both;
    animation: anim-fd 0.8s ease 1.4 both;
}

/* page 4 */
.p4{
    background: url(../img/4-bg-main.jpg) no-repeat;
    background-size: cover;

    text-align: center;
}

.p4 .heart{

    height:40%;
    position: relative;
    top: 25%;
}

.p4.active .heart{
    -webkit-animation: anim-s 0.8s ease 0.8s both;
    animation: anim-s 0.8s ease 0.8 both;
}

/* page 5 */
.p5{
    background: url(../img/5-bg-main.jpg) no-repeat;
    background-size: cover;
}

.p5 h2{    color:#105d08; }
.j-bg .j-tip{
    position: absolute;
    top:60%;
    height:72px;
    background:rgba(255,255,255,.5);
    line-height: 72px;
    font-size:16px;
    box-sizing: border-box;
    padding:0 5%;
    width: 100%;
    text-align: center;
    letter-spacing: 0.1em;
}

.p5.active h2{
    -webkit-animation: anim-sy 0.8s ease 0.8s both;
    animation: anim-sy 0.8s ease 0.8 both;
}
/* page6 */
.p6{
    background: url(../img/6-bg-main.jpg) no-repeat;
    background-size: cover;
}

.p6 h2{color:#c36f2e;}

.p6.active h2{
    -webkit-animation: anim-fd 0.8s ease 0.8s both;
    animation: anim-fu 0.8s ease 0.8 both;
}

/* page7 */
.p7{
    background: url(../img/7-bg-main.jpg) no-repeat;
    background-size: cover;
}

.p7 h2{color:#46352d;/*:#7c9ce7;*/}

.p7.active h2{
    -webkit-animation: anim-fu 0.8s ease 0.8s both;
    animation: anim-fu 0.8s ease 0.8 both;
}
/* page7_1*/
.p7_1{
    background: url(../img/7_1-bg-main.jpg) no-repeat;
    background-size: cover;
}

.p7_1 h2{color:#e34c4e;/*:#7c9ce7;*/}

.p7_1.active h2{
    -webkit-animation: anim-fu 0.8s ease 0.8s both;
    animation: anim-fu 0.8s ease 0.8 both;
}

/* page8 */
.p8{
    background: url(../img/8-bg-main.jpg) no-repeat;
    background-size: 100% 100%;
}

.p8 .m-content{
    position: absolute;
    top: 8%;
    text-align: center;
    padding:0 12%;width: 76%;

}
.p8 label{color:#ac5d18;font-weight: bold;font-size:15px;margin-top:1em;display: block;}
.p8 input,.p8 textarea{
    border:none;
    background:#e8d4bb;
    height:32px;
    border-radius: 4px;
    font-size:14px;
    width:100%;
    color:#333;
}
.p8 textarea{height:5em;}
.p8 img{width:54.6875%;}

.p8 fieldset{border:none;}
.p8 fieldset label{
    width:33.33%;
    float:left;
    display: block;
    height:32px;
    margin-top:0;
    position: relative;
}

.p8 fieldset label>span{
    position: absolute;
    width:80%;
    height:100%;
    background:#bba385;
    left:10%;
    border-radius: 16px;
    line-height: 32px;
    text-align: center;
    color:#fff;
}
.p8 fieldset label input{
    display: none;
}

.p8 fieldset label input[type='radio']:checked + span{
/*    background:#bba385;*/
    background: -webkit-linear-gradient(top,#d01d1d,#bb1818,#af1515) !important;
}

.p8 .u-btn{

    background: -webkit-linear-gradient(top,#e62222,#d71e1e,#c21919);
    margin-top: 2.5em;
    border:none;
    border-radius: 4px;
    color:#fffeb2;
    padding:0.6em 2em;
}

.p8 .u-btn-wall{
    color:#c31010;
    background: #e8d4bb;
    border-radius: 2px;
    padding:0.5em 1em;
    margin-top:1em;

}

.u-wall{
    transform: translateY(100%);
    -webkit-transform: translateY(100%);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transition:0.6s;
    -webkit-transition:0.6s;
}

.u-wall .u-back img{
    width:22.34%;
    position: absolute;
    right:0;
    top:0;
    z-index:2;
}

.u-wall.show{
    transform: translateY(0%);
    -webkit-transform: translateY(0%);
    opacity:1;
}
.u-wall .wrap{
    position: absolute;
    top: 2%;
    text-align: center;
    left:12%;
    width:76%;
    height:92%;
    background:#dc2223;
}

.u-wall .u-list{
/*    position: absolute;
    top: 2%;
    text-align: center;
    left: 12%;
    width: 76%;
    height: 92%;
    background: #dc2223;*/
}
.u-wall img.header{
    width:71.95%;
    margin-top:6%;
}

.u-wall .footer{
    position: absolute;
    bottom: 0;
 /*   border-bottom: 48px solid red;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    height: 0;
    width: 50%;
    position: absolute;
    bottom: 32px;*/
}
.u-wall .footer img{
    width:100%;display:block;
}


.u-wall .m-list{
    background:#a21818;margin:5%;padding: 0 5%;
    overflow-y:auto;
}


.u-wall .u-panel{
    position: relative;
    padding:5% 0;
    border-bottom: 1px #bf5d5e dashed;
}
.u-wall .u-panel h3{font-size:14px;}
.u-wall .u-panel p{font-size:12px;margin-top:0.65em;}
.u-wall .u-panel .date{
    position: absolute;
    right:5px;
    top:15%;font-size:12px;
}

.u-wall .u-st{
    height:48px;
    background:#9c0001;
    display:table;
    width:100%;
}
.u-wall .u-st li{list-style: none;height:48px; display: display:block;float:left;text-align: center;line-height: 48px;width:100%;}
.u-wall .u-st li span{
    background: #780001;
    color: #f9f2aa;
    border-radius: 2em;
    padding: 0.6em 2em;
}


/* fx1.css */

body.fx1 .p2 .m-content {

    margin-top: 8%;
}

body.fx1 .p2 p{line-height:1.6em;}

body.fx1 .p2 .m-footer img {
    margin-bottom: 15%;
}

body.fx1 .p2 div.address {
    margin-top: 0.6em;
}

body.fx1 .p1 .m-footer img{
    width:70%;
}

body.fx1 .p3 p {
    color: #c03b52;
    padding: 5px 3%;

    line-height: 1.7em;
    font-size:11px;
}

/**
* 从右进入
*/
@keyframes anim-fr {
    0% {
        transform: translateX(-60%);
        opacity: 0;
    }
    100% {
        transform: translateX(0%);
        opacity: 1;
    }
}

@-webkit-keyframes anim-fr {
    0% {
        -webkit-transform: translateX(-60%);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0%);
        opacity: 1;
    }
}

/**
* 从左进入
*/
@keyframes anim-fl {
    0% {
        transform: translateX(60%);
        opacity: 0;
    }
    100% {
        transform: translateX(0%);
        opacity: 1;
    }
}

@-webkit-keyframes anim-fl {
    0% {
        -webkit-transform: translateX(60%);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0%);
        opacity: 1;
    }
}

/**
* 从下进入
*/
@keyframes anim-fd {
    0% {
        transform: translateY(60%);
        opacity: 0;
    }
    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

@-webkit-keyframes anim-fd {
    0% {
        -webkit-transform: translateY(60%);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0%);
        opacity: 1;
    }
}

/**
* 从上进入
*/
@keyframes anim-fu {
    0% {
        transform: translateY(-60%);
        opacity: 0;
    }
    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

@-webkit-keyframes anim-fu {
    0% {
        -webkit-transform: translateY(-60%);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0%);
        opacity: 1;
    }
}


/* 淡入 */
@keyframes anim-fi {
    0% {

        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes anim-fi {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

}

/* 淡出 */
@keyframes anim-fo {
    0% {

        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-webkit-keyframes anim-fo {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


/* 淡入后淡出淡出 强调一次 */
@keyframes anim-ft {
    0% {

        opacity: 1;
    }
    50%{
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes anim-ft {
    0% {

        opacity: 1;
    }
    50%{
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}


/* 淡入放大 */
@keyframes anim-fi-zi {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    62.5%{
        opacity: 1;
        transform: scale(0.625);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }

}

@-webkit-keyframes anim-fi-zi {
    0% {
        opacity: 0;
        -webkit-transform: scale(0);
    }
    62.5%{
        opacity: 1;
        -webkit-transform: scale(0.625);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
    }

}

/* 淡入放大 */
@keyframes anim-zi-fi {
    0% {
        transform: scale(0.75);
        opacity: 0;
    }
    62.5%{
        transform: scale(1);
        opacity: 0.625;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes anim-zi-fi {
    0%{
        -webkit-transform: scale(0.75);
        opacity: 0;
    }
    62.5%{
        -webkit-transform: scale(1);
        opacity: 0.625;
    }
    100% {
        opacity: 1;
    }
}


/* 放大淡出 */
@keyframes anim-fo-zi {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.3);
    }

}

@-webkit-keyframes anim-fo-zi {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.3);
    }

}

/* 呼吸 */
@keyframes anim-hb {
    0% {
        transform: scale(1);
    }
    50%{
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

@-webkit-keyframes anim-hb {
    0% {
        -webkit-transform: scale(1);
    }
    50%{
        -webkit-transform: scale(1.15);
    }
    100% {
        -webkit-transform: scale(1);
    }

}


/* 摇摆 */
@keyframes anim-swing {
    0% {
        transform: rotate(0deg)
    }
    25% {
        transform: rotate(4deg)
    }
    50% {
        transform: rotate(0deg)
    }
    75% {
        transform: rotate(-4deg)
    }
    100% {
        transform: rotate(0deg)
    }
}

@-webkit-keyframes anim-swing {
    0% {
        -webkit-transform: rotate(0deg)
    }
    25% {
        -webkit-transform: rotate(4deg)
    }
    50% {
        -webkit-transform: rotate(0deg)
    }
    75% {
        -webkit-transform: rotate(-4deg)
    }
    100% {
        -webkit-transform: rotate(0deg)
    }

}

@keyframes anim-dr {
    0% {
        opacity: 0;
        transform: translateX(40px)
    }
    30% {
        opacity: 1
    }
    60% {
        transform: translateX(-10px)
    }
    90% {
        transform: translateX(5px)
    }
    100% {
        transform: translateX(0px)
    }
}


@-webkit-keyframes anim-dr {
    0% {
        opacity: 0;
        -webkit-transform: translateX(40px)
    }
    30% {
        opacity: 1
    }
    60% {
        -webkit-transform: translateX(-10px)
    }
    90% {
        -webkit-transform: translateX(5px)
    }
    100% {
        -webkit-transform: translateX(0px)
    }
}

/* scale right*/
@keyframes anim-sr {
    0% {
        opacity: 0;
        transform: scaleX(0)
    }
    30% {
        opacity: 1
    }
    60% {
        transform: scaleX(1.1)
    }
    90% {
        transform: scaleX(0.97)
    }
    100% {
        transform: scaleX(1)
    }
}

@-webkit-keyframes anim-sr {
    0% {
        opacity: 0;
        -webkit-transform: scaleX(0)
    }
    30% {
        opacity: 1
    }
    60% {
        -webkit-transform: scaleX(1.1)
    }
    90% {
        -webkit-transform: scaleX(0.97)
    }
    100% {
        -webkit-transform: scaleX(1)
    }
}


@keyframes anim-s {
    0% {
        opacity: 0;
        transform: scale(0)
    }
    30% {
        opacity: 1
    }
    60% {
        transform: scale(1.1)
    }
    90% {
        transform: scale(0.97)
    }
    100% {
        transform: scale(1)
    }
}

@-webkit-keyframes anim-s {
    0% {
        opacity: 0;
        -webkit-transform: scale(0)
    }
    30% {
        opacity: 1
    }
    60% {
        -webkit-transform: scale(1.1)
    }
    90% {
        -webkit-transform: scale(0.97)
    }
    100% {
        -webkit-transform: scale(1)
    }
}

@keyframes anim-sy {
    0% {
        opacity: 0;
        transform: scaleY(0)
    }
    30% {
        opacity: 1
    }
    60% {
        transform: scaleY(1.1)
    }
    90% {
        transform: scaleY(0.97)
    }
    100% {
        transform: scaleY(1)
    }
}

@-webkit-keyframes anim-sy {
    0% {
        opacity: 0;
        -webkit-transform: scaleY(0)
    }
    30% {
        opacity: 1
    }
    60% {
        -webkit-transform: scaleY(1.1)
    }
    90% {
        -webkit-transform: scaleY(0.97)
    }
    100% {
        -webkit-transform: scaleY(1)
    }
}

#main{
    max-width: 640px;
    min-width: 320px;
    margin: auto;
}


#pagecode {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background: rgba(0,0,0,0.2);
    position: fixed;
    bottom: 15px;
    left: 50%;
    margin-left: -24px;
    z-index: 99;
    transition: transform 0.5s, opacity 0.5s;
    -webkit-transition: -webkit-transform 0.5s;
    text-align: center;
}

#arw {
    width: 15px;
    height: 22px;
    background: url("../img/icon-arrow.png") no-repeat center bottom;
    margin: 0 auto;
    display: block;
}
#pageNum{
    color:#fff;
}

#pageNum i{
    font-style: normal;
}
#arw.arwUp{animation: arrow 1.5s;-webkit-animation: arrow 1.5s; animation-iteration-count:infinite; -webkit-animation-iteration-count:infinite;animation-timing-function: linear;-webkit-animation-timing-function: linear;}
@keyframes arrow{ 0%{transform:translateY(5px); opacity:1} 100%{transform:translateY(-10px); opacity:0}}
@-webkit-keyframes arrow{ 0%{-webkit-transform:translateY(5px); opacity:1} 100%{-webkit-transform:translateY(-10px); opacity:0}}
#arw.arwDown{-webkit-transform:rotate(180deg) translateY(-10px) !important; transform:rotate(180deg) translateY(-10px) !important; opacity:0.7 !important}
